import { PLATFORM_Map } from "@/constant/index";
import systemsettings from "@/assets/images/leftminsvg/systemsettings.svg?component";
export default {
	path: '/system-management',
	redirect: '/system-management/system-settings',
	meta: {
		title: '系统管理',
		showLink: true,
		rank: 10,
		icon: systemsettings,
		platform: [PLATFORM_Map.manage]
	},
	children: [
		{
			name: 'system-management',
			path: '/manage/system-management/system',
			component: () => import('@/views/manage/system-management/system/index.vue'),
			meta: {
				title: '系统管理',
				showParent: true,
				roles:['system.systematic']
			}
		},
		{
			name: 'system-settings',
			path: '/system-management/system-settings',
			component: () => import('@/views/manage/system-management/system-settings/index.vue'),
			meta: {
				title: '配置管理',
				showParent: true,
				roles:['system.config.list']

			},
		},{
			name: 'operation-records',
			path: '/manage/system-management/operation-records',
			component: () => import('@/views/manage/system-management/operation-records/index.vue'),
			meta: {
				title: '操作记录',
				showParent: true,
				roles:['system.operational.list']
			}
		}
	]
} satisfies RouteConfigsTable;
